import numpy as np

print("np.arange(range(10))".center(50, '='))
x = np.array(range(10))
print(x)
print("x.reshape(1, 10)".center(50, '='))
x = x.reshape(1, 10)  # reshape()方法返回新数组，改变数组形状，变换为10行1列数组
print(x)
